package org.genntii.warehousesystem.domain.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.genntii.warehousesystem.domain.entity.GoodsWarehouse;

import java.math.BigDecimal;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "购物车")
public class CartVO {
    private int id;
    private int goodsId;
    private String imgSrc;
    private String name;
    private int num;
    private BigDecimal price;
    private BigDecimal addPrice;
    private List<GoodsWarehouse> goodsWarehouseList;
}
